package com.hadoop.project.entity.query;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 基础查询类
 */
@ApiModel(description = "基本查询参数")
public class BaseQuery{
    @ApiModelProperty(value = "分页查询的页对象")
    private SimplePage simplePage;
    @ApiModelProperty(value = "页码")
    private Integer pageNo;
    @ApiModelProperty(value = "页的大小")
    private Integer pageSize;
    @ApiModelProperty(value = "排序方式")
    private String orderBy;

    public SimplePage getSimplePage() { return simplePage; }

    public void setSimplePage(SimplePage simplePage) { this.simplePage = simplePage; }

    public Integer getPageNo() { return pageNo; }

    public void setPageNo(Integer pageNo) { this.pageNo = pageNo; }

    public Integer getPageSize() { return pageSize; }

    public void setPageSize(Integer pageSize) { this.pageSize = pageSize; }

    public void setOrderBy(String orderBy) { this.orderBy = orderBy; }

    public String getOrderBy() { return this.orderBy; }
}
